{% load static %}<!DOCTYPE html>
<html>
<head>
  <title>{% block title %}{% endblock %}</title>
  <meta charset="utf-8">
  {% comment %}
  <meta http-equiv="refresh" content="1000">
  {% endcomment %}
  {% block base_stylesheet %}
    <link rel="stylesheet" type="text/css" href="{% static 'lib/bootstrap-3.3.7-dist/css/bootstrap.min.css' %}" />
    <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}" />
    <link rel="stylesheet" type="text/css" href="{% static 'css/nav.css' %}" />
  {% endblock %}
  {% block extra_style %}{% endblock %}
  {% block extra_head %}{% endblock %}
</head>
<body>
  <div class="header">
        <div class="branding">
          <h1 class="site-name"><a href="/">IT资源申请系统</a></h1>
        </div>
        <div class="user-tools">
          <span>Welcome &nbsp;<label id="realname"></label></span>&nbsp;
          <a href="{% url 'application:index' %}"> 查看所有申请记录 </a> &nbsp;/&nbsp;
          <a href="{% url 'application:apply' %}"> 服务器资源申请 </a> &nbsp;/&nbsp;
          <a href="{% url 'application:logout' %}"> 登出 </a>
        </div>
  </div>
  <div id="container" class="container">
    {% block content %}{% endblock content %}
  </div>
  {% block base_script %}
    <script src="{% static 'lib/jquery/jquery-1.12.4.min.js'%}"></script>
    <script src="{% static 'lib/jquery/jquery.parseparams.js'%}"></script>
    <script src="{% static 'lib/js-cookie/js.cookie.js'%}"></script>
    <script src="{% static 'lib/bootstrap-3.3.7-dist/js/bootstrap.min.js'%}"></script>
    <script src="{% static 'js/base.js'%}"></script>
  {% endblock base_script %}
  {% block extra_script %}{% endblock %}
</body>
</html>
